package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.LeaderAccountDao;
import com.tbit.uqbike.client.pojo.newEntity.LeaderAccount;
import com.tbit.uqbike.client.service.LeaderAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: chen
 * @Description:
 * @Date: 创建于 15:50 2022/10/9
 */
@Service
public class LeaderAccountServiceImpl implements LeaderAccountService {

    @Autowired
    private LeaderAccountDao leaderAccountDao;

    @Override
    public LeaderAccount getByPhone(String phone,Integer accountId) {
        return leaderAccountDao.getByPhone(phone, accountId);
    }
}
